import { baseRequest } from '@/utils/request'

const request = (url, ...arg) => baseRequest(`/api/bizapp/biz/warehouseinfo/${url}`, ...arg)

export default {
	getPage(data) {
		return request('page', data, 'get')
	},
	addOrEdit(cmd, data) {
		return request(cmd, data, 'post')
	},
	delPromaterial(data) {
		return request('delete', data, 'post')
	}
}
